package com.hotel.app.controller;

import com.hotel.app.service.UserCashbackLogFeign;
import com.hotel.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc:
 * @author: ZHY
 * @date: 2024/6/19,20:25
 */
@RequestMapping("api/user/wallet")
@RestController
public class UserCashbackLogController {

    @Autowired
    private UserCashbackLogFeign userCashbackLogFeign;

    /**
     * 展示返现详情
     */
    @RequestMapping("/cashBackLog")
    public R findCashback() {
        return userCashbackLogFeign.findCashback();
    }
}
